package com.example.spring.ioc.annotation.dao;

import org.springframework.stereotype.Repository;

/**
 * @author lei yu
 * @date 2024/05/16
 */
@Repository // @Component <bean>
public class UserDaoImpl implements UserDao {
    @Override
    public void getUser() {
        System.out.println("读取数据库" );
    }
}
